package aladyn.testclass;

import aladyn.id.Identificater;

/* 
 * Ce sont des classes utiliser pour faire des tests.
 */
public class Dot {
	//int x;
	//double d;
	//Pixel p;
	public int[][] y;
	//int[][] z;
	public Point[][][] pts;
	
	public Dot(int i, int j, String s){
		
		 
	}
	
	public String toString(){
		String str ="Dot(y=";
		if(y == null)
			str += "null";
		else
			str += "int[" + y.length + "][" + y[0].length + "]";
		str += ",pts=";
		if(pts == null)
			str += "null";
		else
			str += "Point[" + pts.length + "][" + pts[0].length + "][" + pts[0][0].length + "]";
		str += ")"
			+ "{s_id=" + Identificater.serializeGet(this) 
			+ ",d_id=" + Identificater.deserializeGetId(this) + "}";
		return str;
	}
	
}
